The right question is:
A long wire of some length is cut into small pieces of 216 cm leaves a small piece of length of 89cm. if this part were cut into equal pieces each of 18 cm, the length of left over wire would be what?
216 = 18*12
So 18 is a factor of 216
The leftover piece of 89 cms can be cut in pieces of 18 cm
Now, 89/18 < 5
=> 4 pieces of 18 cms
=> 89 - 4*18 left
=> 89 - 72 left
=> 17 cms left over